Overview CAA_CiA405.Library

 

This specification uses the standardized CANopen interface for IEC 61131-3 programmable devices such as PLC.

The devices use communication techniques which conform to those described in the CiA Draft Standard DS-301 (Application Layer and Communication Profile), Draft Standard Proposal DSP-302 (Framework for Programmable CANopen Devices), and Draft Standard Proposal DS-405 (Interface and Device Profile for IEC 61131-3 Programmable Devices). These documents should be consulted in parallel to this spec­ification.

References:

- /DS-301/ CiA Draft Standard DS 301 V4.02 CANopen Application Layer and Communication Profile

In general, generating an application implements the handling of up to five interfaces:

Generating an application /handling interfaces

overview_cia405.png

This description covers only the interface:

  1. Therefore, the access to a CANopen communication system from within an IEC 61131-3 program is based on calls to function blocks

This descricption does not (yet) cover the interfaces:

  1.  Utility functions for debugging, monitoring and network manage­ment

  2.  Interface between CANopen tools and IEC 61131-3 programming environment

  3.  Manufacturer specific interface between programming environ­ment and PLC runtime

  4.  CANopen tool specific interface between configuration tool and network

Notice

 The figure does not necessarily describe the use of different tools for programming and configuration. One tool can handle both functionalities and hide the interfaces. An example is given by the programming tool CODESYS (see dotted line), where the CANopen configuration and the runtime software on the PLC is included.

Application interface

Every application within an IEC 61131-3 level must be able to write to (SDO) or read a node connected to CANopen in a device object direc­tory. Further elements of a CANopen communication are Process Data Objects (PDO) which are supported in the process image within the IEC application as inputs (Receive PDO; i.e.: %IX.. ) or outputs (Send PDO; i.e.: %QW.. ). Received asynchronous error messages (EMCY) are registered for each node in a buffer. The network status is controlled by the Network management (NMT). With CANopen, a node guarding func­tionality is available, and synchronized communication for process data is possible.

The chapters of the current description outline the requirements to a function block library for CANopen communication.